/*
 * Created on 2005-8-10
 */
/**
 * 
 */
package com.linkage.lcims.base.po.business;

import java.io.Serializable;

import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;

/**
 * @author Administrator
 *
 */
@SuppressWarnings("serial")
public class BdGroupTransfer implements Serializable {
	private com.linkage.lcims.base.po.business.BdGroupTransferPK comp_id;
	
	private String vendername;
	
	private String reserved1;
	
	private String reserved2;
	
	private String reserved3;
	/**
	 * 
	 */
	public BdGroupTransfer() {
	}

	public BdGroupTransfer(BdGroupTransferPK comp_id){
		this.comp_id = comp_id;
	}

	public com.linkage.lcims.base.po.business.BdGroupTransferPK getComp_id() {
		return comp_id;
	}

	public void setComp_id(com.linkage.lcims.base.po.business.BdGroupTransferPK comp_id) {
		this.comp_id = comp_id;
	}

	public String getReserved1() {
		return reserved1;
	}

	public void setReserved1(String reserved1) {
		this.reserved1 = reserved1;
	}

	public String getReserved2() {
		return reserved2;
	}

	public void setReserved2(String reserved2) {
		this.reserved2 = reserved2;
	}

	public String getReserved3() {
		return reserved3;
	}

	public void setReserved3(String reserved3) {
		this.reserved3 = reserved3;
	}

	public String getVendername() {
		return vendername;
	}

	public void setVendername(String vendername) {
		this.vendername = vendername;
	}
	
	public String toString() {
        return new ToStringBuilder(this)
            .append("comp_id", getComp_id())
            .toString();
    }

    public boolean equals(Object other) {
        if ( (this == other ) ) return true;
        if ( !(other instanceof BdGroupTransfer) ) return false;
        BdGroupTransfer castOther = (BdGroupTransfer) other;
        return new EqualsBuilder()
            .append(this.getComp_id(), castOther.getComp_id())
            .isEquals();
    }

    public int hashCode() {
        return new HashCodeBuilder()
            .append(getComp_id())
            .toHashCode();
    }
}
